package com.jf.blog.form.blog;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("博客筛选表单")
public class BlogSearchForm {
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("分类")
    private Integer categoryId;
    @ApiModelProperty(value = "是否允许评论", allowableValues = "1,2")
    private Integer hasComment;
    @ApiModelProperty(value = "博客状态", allowableValues = "1,2")
    private Integer blogStatus;
    @ApiModelProperty(value = "数据状态", allowableValues = "1,2")
    private Integer status;
    @ApiModelProperty("发布日期范围")
    private Date[] applyTimeRange;
}
